package score;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Thorsten Ludwig
 */
@Entity
public class Score implements Serializable {
    
    private double score;
    
    private Status status;
    
    private String comment;
    @Id
    private Long id;
    
    public Score () {
        this.status = Status.NOT_INSERTED;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
